package com.masterrabbit.sn.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.masterrabbit.sn.domain.RepairRecords;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author 13119
* @description 针对表【repair_records】的数据库操作Mapper
* @createDate 2025-03-21 20:54:09
* @Entity com.masterrabbit.sn.domain.RepairRecords
*/
@Mapper
public interface RepairRecordsMapper extends BaseMapper<RepairRecords> {
    @Select("SELECT * FROM repair_records WHERE user_id = #{userId}")
    Page<RepairRecords> getRepairRecords(Page<RepairRecords> page,@Param("userId") int userId);
}




